package com.bruce.demo2.patterns.demo2.structural.demo10.facade;

/**
 * @PROJECT_NAME: design_patterns
 * @DESCRIPTION: 测试类
 * @AUTHOR: CNBruceLee
 * @DATE: 2021/7/28 7:06
 */
public class Test {
    @org.junit.Test
    public void test() {
        SmartApplicationsFacade facade = new SmartApplicationsFacade(new Light(), new TV(), new AirCondition());
        facade.say("打开家电");
        System.out.println("=============================");
        facade.say("关闭家电");
    }
}
